let i = 0
const arr = []
const name = ["张三","李四","王五","赵柳","周就"]
const age = [18,20,30,22,19]

while(i<100){
    const num = parseInt(Math.random()*10)%5
    const num2 = parseInt(Math.random()*10)
    const num3 = parseInt(Math.random()*10)
    const id = i+1
    const num4 = id < 10?('0' + id) : Number(id)
    
    arr.push({
        "id": id,
        "name": name[num] + num4,
        "age:": age[num] + num2 - num3
    })
    i++
}

console.log(JSON.stringify(arr))